package com.n9.qqonline.sales.view;

import javax.swing.*;
import java.awt.*;

/**
 * @author ice
 * @since 2019/5/28 15:32
 */
public final class DialogUtils {
    /**
     * 显示错误消息
     * @param parent
     * @param title
     * @param msg
     */
    public static void showError(Component parent, String title, String msg) {
        JOptionPane.showMessageDialog(parent, msg, title, JOptionPane.ERROR_MESSAGE);
    }
}
